home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / patchlib539.lha / patchlib / include / PatchObsolete.i < prev    next >
Text File  |  1996-12-07  |  1KB  |  37 lines

  1.     IFND LIBRARIES_PATCHOBSOLETE_I
  2. LIBRARIES_PATCHOBSOLETE_I SET 1
  3. **
  4. **    Filename:    libraries/patchobsolete.i
  5. **    Release:    5.0
  6. **    Date:        20.08.96
  7. **
  8. **    (C) Copyright 1993-96 Stefan Fuchs
  9. **    All rights reserved
  10. **
  11. **      definition of structures, which are obsolete with the current version
  12. **         of patch.library
  13.  
  14.  
  15.     IFND EXEC_TYPES_I
  16.     include "exec/types.i"
  17.     ENDC
  18.  
  19.  
  20. ;-------------------------------------------------------------------------
  21. ;Structure required to install new patches via patch.library/InstallPatch()
  22.  
  23.  STRUCTURE NewPatch,0            ;this structure is OBSOLETE from V2 on
  24.     APTR    NPAT_NewCode        ;pointer to the patch code to be installed
  25.     ULONG    NPAT_NewCodeSize    ;optional length of NPAT_NewCode in bytes
  26.     APTR    NPAT_LibraryName    ;pointer to the LibraryName
  27.     UWORD    NPAT_LibVersion        ;version of Library to open
  28.     WORD    NPAT_LVO        ;LVO of function to patch
  29.     WORD    NPAT_Priority        ;Priority (-127...+126) of the patch
  30.     UWORD    NPAT_Flags        ;currently none defined (keep zero)
  31.     APTR    NPAT_PatchName        ;optional pointer to an IDString
  32.     LONG    NPAT_Result2        ;optional pointer to longword for Result2
  33.  
  34.  LABEL NPAT_SIZEOF
  35.  
  36.     ENDC    ;LIBRARIES_PATCHOBSOLETE_I
  37.